import java.io.*;

public class Student implements Serializable
{
	private String name;
	private int number;
	
	public Student(){
		this.name=null;
		this.number=0;
	}
	
	public void setName(String name)
	{
		this.name=name;
	}
	
	public void setNumber(int number)
	{
		this.number=number;
	}
	
	public void print()
	{
		System.out.println("Name: "+this.name);
		System.out.println("MatrikelNr: "+this.number);
	}
}